package com.simpleaccount.Toast;

import android.app.Application;
import android.content.Context;

/**
 * Created by zhou on 2017/7/21.
 * 此类是为了方便toast的使用来为用户提供信息而建立
 */

public class TextApplication extends Application {
    private static Context context;
    public void onCreate(){
        super.onCreate();
        TextApplication.context=getApplicationContext();
    }
    public static Context getAppContext(){
        return TextApplication.context;
    }
}
